'use strict';
// const webpack = require('webpack');

const path = require('path');
const defaultSettings = require('./src/settings.js');

function resolve(dir) {
    return path.join(__dirname, dir)
}

module.exports = {
    publicPath: '/',
    outputDir: 'dist',
    assetsDir: 'static',
    configureWebpack: {
        resolve: {
            alias: {
                '@': resolve('src'),
                // 'jquery': 'jquery'
            }
        },
        // plugins: [
        //     new webpack.ProvidePlugin({
        //         $: "jquery",
        //         jQuery: "jquery",
        //         "windows.jQuery": "jquery"
        //     })
        // ],
    },
    devServer: {
        overlay: {
            warnings: false,
            errors: false
        }
    },
    lintOnSave: false,
};